package com.oh.iris.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * 用户
 *
 * @author 阿沐 babamu@126.com
 * <a href="https://maku.net">MAKU</a>
 */
@TableName("sys_user")
public class SysUserEntity extends BaseEntity {
    /**
     * 用户名
     */
    private String userName;
    public void setUserName(String userName){
        this.userName = userName;
    }
    public String getUserName(){
        return this.userName;
    }
    /**
     * 密码
     */
    private String password;
    public void setPassword(String password){
        this.password = password;
    }
    public String getPassword(){
        return this.password;
    }
    /**
     * 姓名
     */
    private String realName;
    public void setRealName(String realName){
        this.realName = realName;
    }
    public String getRealName(){
        return this.realName;
    }
    /**
     * 头像
     */
    private String avatar;
    public void setAvatar(String avatar){
        this.avatar = avatar;
    }
    public String getAvatar(){
        return this.avatar;
    }
    /**
     * 性别   0：男   1：女   2：未知
     */
    private Integer gender;
    public void setGender(Integer gender){
        this.gender = gender;
    }
    public Integer getGender(){
        return this.gender;
    }
    /**
     * 邮箱
     */
    private String email;
    public void setEmail(String email){
        this.email = email;
    }
    public String getEmail(){
        return this.email;
    }
    /**
     * 手机号
     */
    private String mobile;
    public void setMobile(String mobile){
        this.mobile = mobile;
    }
    public String getMobile(){
        return this.mobile;
    }
    /**
     * 机构ID
     */
    private Long orgId;
    public void setOrgId(Long orgId){
        this.orgId = orgId;
    }
    public Long getOrgId(){
        return this.orgId;
    }
    /**
     * 超级管理员   0：否   1：是
     */
    private Integer superAdmin;
    public void setSuperAdmin(Integer superAdmin){
        this.superAdmin = superAdmin;
    }
    public Integer getSuperAdmin(){
        return this.superAdmin;
    }
    /**
     * 状态  {@link UserStatusEnum}
     */
    private Integer status;
    public void setStatus(Integer status){
        this.status = status;
    }
    public Integer getStatus(){
        return this.status;
    }
    /**
     * 机构名称
     */
    @TableField(exist=false)
    private String orgName;
    public void setOrgName(String orgName){
        this.orgName = orgName;
    }
    public String getOrgName(){
        return this.orgName;
    }
}
